﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLT_Public;
using QLT_Data;
using System.Data;

namespace QLT_BLL
{
   public  class LoaiThuoc_BLL
    {
       LoaiThuoc_Data loaiThuoc = new LoaiThuoc_Data();
       public DataTable LayDuLieu()
       {
           return loaiThuoc.LayDuLieu();
       }
       public DataTable taoBang(string sql)
       {
           return loaiThuoc.TaoBang(sql);
       }
       public int insert_LoaiThuoc(LoaiThuoc_Public tenLoaiThuoc, LoaiThuoc_Public ghiChu)
       {
           return loaiThuoc.Insert_LoaiThuoc(tenLoaiThuoc, ghiChu);
       }
       public int update_LoaiThuoc(LoaiThuoc_Public maLoaiThuoc, LoaiThuoc_Public tenLoaiThuoc, LoaiThuoc_Public ghiChu)
       {
           return loaiThuoc.Update_LoaiThuoc(maLoaiThuoc, tenLoaiThuoc, ghiChu);
       }
       public int delete_LoaiThuoc(LoaiThuoc_Public maLoaiThuoc)
       {
           return loaiThuoc.Delete_LoaiThuoc(maLoaiThuoc);
       }
    }
}
